package com.mcxx.modules.miniSalvation.family.service.read;

import com.mcxx.common.exception.BizException;
import com.mcxx.modules.miniSalvation.check.dto.CheckMemberDTO;
import com.mcxx.modules.miniSalvation.family.dao.read.FamilySupportHistoryReadDao;
import com.mcxx.modules.miniSalvation.family.dao.read.FamilySupportReadDAO;
import com.mcxx.modules.miniSalvation.family.entity.FamilySupportEntity;
import com.mcxx.modules.miniSalvation.family.entity.FamilySupportHistoryEntity;
import com.mcxx.util.FailureCode;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@TaTransactional(readOnly = true)
public class FamilySupportHistoryReadService {
    @Autowired
    private FamilySupportHistoryReadDao familySupportHistoryReadDao;


    public List getFamilySupportHistoryList(String orderId) {
        return familySupportHistoryReadDao.getFamilySupportHistoryList(orderId);
    }


    public FamilySupportHistoryEntity queryFamilySupportHistory(String id) {
        return familySupportHistoryReadDao.queryFamilySupportHistory(id);
    }

}
